package com.web.oa.service;


import com.github.pagehelper.PageInfo;
import com.web.oa.pojo.Employee;

import java.util.List;

public interface EmployeeService {
    Employee findEmployeeByName(String name);

    PageInfo<Employee> findAllUserAndRole(int pageNum);

    void updateEmployeeRole(String roleId, String userId);

    void addEmployee(Employee employee);

    Employee findEmployeeManager(Long employeeId);

    void deleteRoleByRoleId(String id);
}
